﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace SNSpirit.Domain
{
    internal static class DomainUtillity
    {
        public const string Namespace = "http://schemas.snspirit.org/domain";

        public static void TraceEvent(object sender, TraceEventType eventType, string message)
        {
            if (DomainUtillity.DomainEventOccurred != null)
                DomainUtillity.DomainEventOccurred(sender, new DomainEventOccurredEventArgs(eventType, message));
        }

        public static event EventHandler<DomainEventOccurredEventArgs> DomainEventOccurred;
    }
}
